package com.trinity.oldsystem.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.trinity.common.annotation.Excel;
import com.trinity.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 老系统数目清单对象 dhxh_booklist
 *
 * @author old-system
 * @date 2024-01-30
 */
public class DhxhBooklist extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 所属部门
     */
    @Excel(name = "所属部门")
    private String sysOrgCode;

    /**
     * 编号
     */
    @Excel(name = "编号")
    private String code;

    /**
     * 名称
     */
    @Excel(name = "名称")
    private String name;

    /**
     * 学校
     */
    @Excel(name = "学校")
    private String school;

    /**
     * 学院
     */
    @Excel(name = "学院")
    private String college;

    /**
     * 专业
     */
    @Excel(name = "专业")
    private String major;

    /**
     * 班级
     */
    @Excel(name = "班级")
    private String clazz;

    /**
     * 年级
     */
    @Excel(name = "年级")
    private String grade;

    /**
     * 学院ID
     */
    @Excel(name = "学院ID")
    private String collegeId;

    /**
     * 学校ID
     */
    @Excel(name = "学校ID")
    private String schoolId;

    /**
     * 专业ID
     */
    @Excel(name = "专业ID")
    private String majorId;

    /**
     * 班级ID
     */
    @Excel(name = "班级ID")
    private String clazzId;

    /**
     * 班主任
     */
    @Excel(name = "班主任")
    private String headteacher;

    /**
     * 班主任电话
     */
    @Excel(name = "班主任电话")
    private String headteacherTel;

    /**
     * 班委
     */
    @Excel(name = "班委")
    private String headstudent;

    /**
     * 班委电话
     */
    @Excel(name = "班委电话")
    private String headstudentTel;

    /**
     * 签发日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签发日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date issuanceDate;

    /**
     * 其它
     */
    @Excel(name = "其它")
    private String other;

    /**
     * 学年
     */
    @Excel(name = "学年")
    private String schoolYear;

    /**
     * 总价
     */
    @Excel(name = "总价")
    private Long pricesum;

    /**
     * 书目清单图片
     */
    @Excel(name = "书目清单图片")
    private String booklistPic;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setSysOrgCode(String sysOrgCode) {
        this.sysOrgCode = sysOrgCode;
    }

    public String getSysOrgCode() {
        return sysOrgCode;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public String getSchool() {
        return school;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    public String getCollege() {
        return college;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getMajor() {
        return major;
    }

    public void setClazz(String clazz) {
        this.clazz = clazz;
    }

    public String getClazz() {
        return clazz;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getGrade() {
        return grade;
    }

    public void setCollegeId(String collegeId) {
        this.collegeId = collegeId;
    }

    public String getCollegeId() {
        return collegeId;
    }

    public void setSchoolId(String schoolId) {
        this.schoolId = schoolId;
    }

    public String getSchoolId() {
        return schoolId;
    }

    public void setMajorId(String majorId) {
        this.majorId = majorId;
    }

    public String getMajorId() {
        return majorId;
    }

    public void setClazzId(String clazzId) {
        this.clazzId = clazzId;
    }

    public String getClazzId() {
        return clazzId;
    }

    public void setHeadteacher(String headteacher) {
        this.headteacher = headteacher;
    }

    public String getHeadteacher() {
        return headteacher;
    }

    public void setHeadteacherTel(String headteacherTel) {
        this.headteacherTel = headteacherTel;
    }

    public String getHeadteacherTel() {
        return headteacherTel;
    }

    public void setHeadstudent(String headstudent) {
        this.headstudent = headstudent;
    }

    public String getHeadstudent() {
        return headstudent;
    }

    public void setHeadstudentTel(String headstudentTel) {
        this.headstudentTel = headstudentTel;
    }

    public String getHeadstudentTel() {
        return headstudentTel;
    }

    public void setIssuanceDate(Date issuanceDate) {
        this.issuanceDate = issuanceDate;
    }

    public Date getIssuanceDate() {
        return issuanceDate;
    }

    public void setOther(String other) {
        this.other = other;
    }

    public String getOther() {
        return other;
    }

    public void setSchoolYear(String schoolYear) {
        this.schoolYear = schoolYear;
    }

    public String getSchoolYear() {
        return schoolYear;
    }

    public void setPricesum(Long pricesum) {
        this.pricesum = pricesum;
    }

    public Long getPricesum() {
        return pricesum;
    }

    public void setBooklistPic(String booklistPic) {
        this.booklistPic = booklistPic;
    }

    public String getBooklistPic() {
        return booklistPic;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("sysOrgCode", getSysOrgCode())
                .append("code", getCode())
                .append("name", getName())
                .append("school", getSchool())
                .append("college", getCollege())
                .append("major", getMajor())
                .append("clazz", getClazz())
                .append("grade", getGrade())
                .append("collegeId", getCollegeId())
                .append("schoolId", getSchoolId())
                .append("majorId", getMajorId())
                .append("clazzId", getClazzId())
                .append("headteacher", getHeadteacher())
                .append("headteacherTel", getHeadteacherTel())
                .append("headstudent", getHeadstudent())
                .append("headstudentTel", getHeadstudentTel())
                .append("issuanceDate", getIssuanceDate())
                .append("other", getOther())
                .append("remark", getRemark())
                .append("schoolYear", getSchoolYear())
                .append("pricesum", getPricesum())
                .append("booklistPic", getBooklistPic())
                .toString();
    }
}
